package ch1;

public class Jiaohuan {

	public static void main(String[] args) {
		// 交换两个变量的值
		int a = 29, b = 40;// 一次定义两个变量；
		System.out.println("a=" + a + ",b=" + b);
		int c;
		c = a;
		a = b;
		b = c;
		System.out.println("交换之后：");
		System.out.println("a=" + a + ",b=" + b);
		System.out.println("c=" + c);
	}

}
